-
-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SearchBuilder Extension - Add one necessary file and add informations in the documentation on how to use it. #343
Conversation
Allow the usage of SearchBuilder plugin, and deal with DateTimeInterface Format . # Use: 'criteria' => [ new SearchBuilderCriteriaProvider($request), new SearchCriteriaProvider(), ], Doctrine extension are needed: https://github.com/beberlei/DoctrineExtensions/tree/master # To enable extensions orm: dql: datetime_functions: date: DoctrineExtensions\Query\Mysql\Date year: DoctrineExtensions\Query\Mysql\Year yearmonth: DoctrineExtensions\Query\Mysql\YearMonth
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
namespace Omines\DataTablesBundle\Adapter\Doctrine\ORM;
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #343 +/- ##
=======================================
Coverage 94.56% 94.56%
=======================================
Files 37 37
Lines 975 975
=======================================
Hits 922 922
Misses 53 53 ☔ View full report in Codecov by Sentry. |
use Omines\DataTablesBundle\Adapter\Doctrine\ORM\SearchbuilderCriteriaProvider.php
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use Omines\DataTablesBundle\Adapter\Doctrine\ORM\SearchBuilderCriteriaProvider;
Stale pull request message |
In composer.json, should be good to add
"stof/doctrine-extensions-bundle": "^1.10",
to deal with DateTime Search